package com.example.eldersystem.operatedata.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class Volunteer {
    private int id;
    private String name;
    private String gender;
    private String phone;
    private String idCard;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date birthday;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date checkinDate;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date checkoutDate;
    private String imgsetDir;
    private String profilePhoto;
    private String description;
}
